/**
 * @name ListFetch
 * @desc 使用 redux+saga 与 mobx 获取数据
 */

import React, { Component } from "react"
import ListWithMobx from "./ListWithMobx"
import ListWithSaga from "./ListWithSaga"

class ListFetch extends Component {
    render() {
        return (
            <div>
                <h1>获取网络数据</h1>

                <div style={{ display: "flex" }}>
                    <div style={{ width: "50%" }}>
                        <ListWithMobx />
                    </div>
                    <div style={{ width: "50%" }}>
                        <ListWithSaga />
                    </div>
                </div>
            </div>
        )
    }
}

export default ListFetch
